﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.User.yahoo" %>
<div style="padding:10px">
	<div id="MessagesBox" style="display:none">
		<div class="MessagePanel4">
		<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
			<div id="MessageText">error content</div>
		</div>
	</div>
	<div>
		<%if (setp != "1")
		{ %>
		<div class="Center9001Content" id="Sgmail">
				<%=GetText("UR095")%>
				<p><a href="javascript:void(0);" onclick="javascript:$('gmail').style.display='';$('EFend').innerHTML='';" ><img src="/Images/invite_gmail.gif" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onclick="bbauth()"><img src="/Images/invite_yahoo.gif" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=WWWHost %>/user/activecomplete.htm?setp=1&method=live1&action=login"><img src="/Images/invite_hotmail.gif" border="0"/></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=WWWHost %>/user/activecomplete.htm?setp=1&method=live1&action=login"><img src="/Images/invite_live.gif" border="0"></a></p>
				<div id="gmail" style="display:none">
					<p><%=GetText("UR013")%><br><input id="memail" name="" cols="" rows="1" class="common180" type="text"/> @gmail.com</p>
					<p><%=GetText("UR102")%><br><input name="" id="mpaw" cols="" rows="1" class="common180" type="password" onkeydown="$Enter$(event,InButton)"/></p>
					<p><div class="floatl"><a href="javascript:void(0);" onclick="OpenF()" id="InButton" class="addbtn" style="text-decoration:none"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("UR096")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div><br><span class="grey12"><%=GetText("UR097")%></span></p>
				</div>
		</div>
		<%} %>
		<div id="Emailfriend" >
			<div id="EFend">
				<%if(su.Count>0){ %>
					<div class="Center9001">
						<div class="Center9001Content">
							<h3><%=GetText("CT030")%></h3>
							<div class="content628 margin20D"><%=GetText("UR098")%></div>
							<div class="signup_recommend">
								<strong><%=GetText("UR099",new string[]{su.Count.ToString()})%></strong>
								<table width="100%" border="0" cellpadding="5" cellspacing="1">
									<tr>
										<td bgcolor="#eeeeee"><input type="checkbox" id="Chkall" onclick="CheckAllBox(this)"checked="checked"/><label for="Chkall"> <%=GetText("SR009")%></label></td>
										<td bgcolor="#eeeeee"><%=GetText("CT024")%></td>
										<td bgcolor="#eeeeee"><%=GetText("C0030")%></td>
										<td bgcolor="#eeeeee"><%=GetText("C0097")%></td>
									</tr>
									<asp:Repeater runat="server" ID="repmList">
									<ItemTemplate>
									<tr>
										<td><input type="checkbox" id="<%#Eval("MemberNo") %>" checked="checked"/></td>
										<td><%#Eval("MemberNo").ToString().IndexOf("@") > -1 ? "<span id=\"n" + Eval("MemberNo") + "\">" + Eval("Nickname") + "</span>" : "<a href='"+WWWHost+"/"+Eval("MemberNo")+".htm' target='_blank' ><span id=\"n" + Eval("MemberNo") + "\">" + Escape(Eval("Nickname").ToString()) + "</span></a>"%></td>
										<td><%#Eval("MemberNo").ToString().IndexOf("@") > -1?"":"Italki Member"%></td>
										<td style="width: 111px"><%#Eval("MemberCrtNo") %></td>
									</tr>
									</ItemTemplate>
									</asp:Repeater>
								</table>
								<p><div class="floatl"><a href="javascript:void(0);" id="btnSave" class="raddbtn" style="text-decoration:none" onclick="Send()"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("CT016")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div></p>
							</div>
						</div>
					</div>
				<%}
				else if (setp == "1")
				{ %>
				<div class="Center9001">
					<div class="Center9001Content">
						<div class="signup_recommend">
							<p><strong><%=GetText("UR099",new string[]{su.Count.ToString()})%></strong></p><a href='<%=WWWHost %>/user/Invite.htm'><%=GetText("UR103")%></a>
						</div>
					</div>
				</div>
				<%} %>
			</div>
		</div>
	</div>
</div>
<script>
var CT030="<%=GetText("CT030") %>";
var UR098="<%=GetText("UR098") %>";
var UR099="<%=GetText("UR099") %>";
var SR009="<%=GetText("SR009") %>";
var CT024="<%=GetText("CT024") %>";
var C0030="<%=GetText("C0030") %>";
var C0097="<%=GetText("C0097") %>";
var CT016="<%=GetText("CT016") %>";
var _rname="<%=bum %>";
var _memberno="<%=memberno %>"
var _nndd='<tr><td><input type="checkbox" id="$MemberNo$" checked="checked"/></td><td>$NickName$</td><td>$Status$</td><td style="width: 111px">$MemberCrtNo$</td></tr>';
</script>